package org.nhindirect.stagent.cert;

import java.security.cert.X509Certificate;

import org.bouncycastle.cms.SignerInformation;

public class SingnerCertPair 
{
	private final SignerInformation signer;
	private final X509Certificate cert;
	
	public SingnerCertPair(SignerInformation _signer, X509Certificate _cert)
	{
		if (_signer == null || _cert == null)
			throw new IllegalArgumentException();
		
		signer = _signer;
		cert = _cert;
	}
	
	public SignerInformation getSigner()
	{
		return signer;
	}
	
	public X509Certificate getCertificate()
	{
		return cert;
	}
}
